projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4438f72
)
Fix error logging when we get a 500 response.
author
Ewan Mellor
<ewan@xensource.com>
Wed, 14 Mar 2007 23:14:19 +0000
(23:14 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Wed, 14 Mar 2007 23:14:19 +0000
(23:14 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xm/XenAPI.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/XenAPI.py
b/tools/python/xen/xm/XenAPI.py
index e557b9ccb8b0c183d3581bb67691fdafbab2c771..ae2448eb7142efbe47df7af4bcf3692aa1bd1816 100644
(file)
--- a/
tools/python/xen/xm/XenAPI.py
+++ b/
tools/python/xen/xm/XenAPI.py
@@
-155,7
+155,7
@@
class Session(xen.util.xmlrpclib2.ServerProxy):
def _parse_result(result):
if type(result) != dict or 'Status' not in result:
- raise xmlrpclib.Fault(500, 'Missing Status in response from server
' + result
)
+ raise xmlrpclib.Fault(500, 'Missing Status in response from server
: ' + str(result)
)
if result['Status'] == 'Success':
if 'Value' in result:
return result['Value']